<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    *{margin: 0;padding: 0}
    html{
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    body{
      width: 100%;
      height: 100%;
      overflow: auto;
    }
    #inner{
      position: absolute;
      left: 100px;
      top: 100px;
      width: 100px;
      height: 100px;
      background: pink;
    }
  </style>
</head>
<body>
  <div id="inner"></div>
  <div style="height: 10000px"></div>
</body>
</html>